<div class="container">
  <div class="head">
    <div class="title">
      <h2>{{diary?.title}}</h2>
    </div>
    <div class="time">
      {{diary?.createTime | date:"yyyy年MM月dd日"}}
    </div>
    <div class="body">
      <div [innerHTML]="html"></div>
    </div>
  </div>
</div>

